package com.longtengyuyun.dcl;

import java.sql.SQLOutput;

/**
 * @author ZhaoYunLong
 * @date 2022/4/14
 * @description
 */
public class DclDemo {

    public static void main(String[] args) {

        ClassDemo classDemo = ClassDemo.getInstance();

        InStaticDemo inStaticDemo = InStaticDemo.getInstance();


//        String a = "123";
//        String  b = new String("123");
//
//        System.out.println(a==b);
//        System.out.println(a.intern() == b.intern());

        Integer d = new Integer(200);
        Integer c  = new Integer(200);
        System.out.println(c.equals(d));
        System.out.println(c.intValue() == d.intValue());

//        Boolean aBoolean = Boolean.valueOf("1");
//        System.out.println(aBoolean);

    }
}
